package com.graduation.vaccine.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhaoJunYao
 * @since 2022-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("production")
public class Production implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品名称
     */
    private String name;

    private String label;

    /**
     * 价格  
     */
    private Integer price;

    /**
     * 生产厂家
     */
    @TableField("factoryName")
    private String factoryName;

    /**
     * 产品规格
     */
    private String specifications;

    /**
     * 接种年龄限制
     */
    @TableField("ageLimitStr")
    private String ageLimitStr;

    /**
     * 疫苗简介图
     */
    @TableField("descriptionUrl")
    private String descriptionUrl;

    /**
     * 所属目录id
     */
    @TableField("catalogId")
    private Integer catalogId;


}
